package cn.wolfcode.shop.cloud.service;


import cn.wolfcode.shop.cloud.domain.OrderInfo;
import org.apache.ibatis.annotations.Param;

public interface IOrderInfoService {

    String seckill(Long seckillId, Long userllId);

    /**
     * 秒杀订单详情
     * @param orderNo
     * @return
     */
    OrderInfo getOrderInfoByOrderNo(String orderNo);

    /**
     * 修改状态
     * @param orderNo
     * @param status
     */
    int changeOrderInfoStatus(String orderNo,Integer status);

    int updateStatus(String orderNo, Integer status);
}
